/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
header {
    background-color: #003366;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.contacts a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

.contacts a:hover {
    text-decoration: underline;
}

.slogan {
    font-size: 18px;
    font-style: italic;
    text-align: center;
}

/* Навигация */
nav {
    background-color: #004080;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 15px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Основной контент */
main {
    padding: 30px 0;
    min-height: calc(100vh - 200px);
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
    color: #003366;
}

.description {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* Списки */
.list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.list-item {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.list-item:hover {
    transform: translateY(-5px);
}

.list-item h3 {
    margin-bottom: 10px;
    color: #003366;
}

.list-item a {
    display: inline-block;
    margin-top: 10px;
    color: #004080;
    text-decoration: none;
    font-weight: bold;
}

.list-item a:hover {
    text-decoration: underline;
}

/* Карточка судьи */
.judge-card {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.judge-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.judge-name {
    font-size: 24px;
    color: #003366;
    margin-bottom: 10px;
}

.judge-info {
    margin-bottom: 30px;
}

.judge-info h3 {
    margin-bottom: 15px;
    color: #003366;
}

.judge-info ul {
    list-style: none;
}

.judge-info li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.judge-stats {
    margin-top: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.stat-item {
    background-color: #f0f8ff;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #003366;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* Подвал */
footer {
    background-color: #003366;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Хлебные крошки */
.breadcrumbs {
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #004080;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #666;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
    }
    
    .contacts {
        margin-top: 10px;
    }
    
    .contacts a {
        margin: 0 10px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 5px 0;
    }
    
    .list-container {
        grid-template-columns: 1fr;
    }
}